#ifndef __MODBUS_RTU485_H__
#define __MODBUS_RTU485_H__

#include "modbus_rtu_master.h"
#include "modbus_handler.h"
#include "modbus_config.h"
#include <modbus/modbus.h>

void* modbus_rtu_uart2_thread(void* arg);

void* modbus_rtu_uart3_thread(void* arg);

int create_rtu_slave_connect(InterfaceOptions *uart,const char* driver);

int create_rtu_master_connect(InterfaceOptions *uart,const char* driver);

#endif